<script>     
    // 把字符串看做字符的数组   
         let [a, b, c, d, ...e] = 'JavaScript';   
         console.log(a); // J   
         console.log(b); // a   
         console.log(c); // v   
         console.log(d); // a   
         console.log(e.join("")); // Script   
</script> 